package com.wodsy.phoenix.datadao.shoppingcart.dao;

import com.wodsy.phoenix.dataobject.shoppingcart.model.Shoppingcart;


public interface ShoppingcartRedisDao{
	/**
	 * 由于放到缓存中，暂时没有数据库ID；后期可以根据需要添加数据库ID或自动生成UUID
	 */
	@Deprecated
	public Shoppingcart getMyShoppingcartById(Long id);

	public Shoppingcart getMyShoppingcartByUid(Integer userId);
	
	public Integer addMyShoppingcart(Shoppingcart shoppingcart);
	
	public void updateShoppingcart(Shoppingcart shoppingcart);
	
	public void delShoppingcart(Integer userId);

}
